<?php namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\VoteProject
 *
 * @property integer $id
 * @property string $title
 * @property string $begin_date
 * @property string $end_date
 * @property boolean $is_lock
 * @property string $remark
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereTitle($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereBeginDate($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereEndDate($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereIsLock($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereRemark($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereCreatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\VoteProject whereUpdatedAt($value)
 */
class VoteProject extends Model
{
  protected $fillable = ['title', 'begin_date', 'end_date', 'remark'];

  protected $attributes = [
    'is_lock ' => 0,
  ];

}
